package com.xcl.service;

import com.xcl.pojo.Category;

import java.util.List;

public interface CategoryService {

    //查询所有的分类
    public List<Category> findAll();

    //删除
    public Integer deleteById(Integer id);

    //增加
    public Integer addCategory(Category category);

    //修改
    public Integer update(Category category);

}
